<style>
.label-gray {
	line-height:2.2;
	background-color:#f5f7fb;
	border: 1px solid #f5f7fb;
	color:#999;
	margin-right:0.3rem;
    font-size: 100%;
}
.label-gray.active {
	background-color:#fff;
	color:{{main.syscolor || '#7c1cc9'}};
	border: 1px solid {{main.syscolor || '#7c1cc9'}};
}
</style>
		<div class="radius">
		<div style="padding-top: 0.5rem;">
			<div class="c">
				<div class="weui_btn_area" style="margin-top:0">
					<a class="weui_btn weui_btn_primary jy-btn1" style="line-height:3;color:#7783EA;border-radius:1.3rem" href="javascript:" id="showTooltips" href="javascript:;" ng-click="pagedata.showimages=true"><i class="icon icon-tianjia"></i> 添加壁纸</a>
				</div>
			</div>
		</div>
		<div class="jy-content">
			<div ng-if="pagedata.list" class="fui-goods-group block">
			<div ng-repeat="item in pagedata.list" class="fui-goods-item">
				<div ng-click="access_json('/id='+item.id,'','',1);" class="image" style="position:relative;background-image: url({{tomedia(item.image)}})">
				</div>
			</div>
		</div>
		</div>
		<div class="content-empty" ng-show="!pagedata.list || pagedata.list.length == 0 ">
			<div style="padding-top:0.3rem;color: #999;font-size: .75rem">您暂时没有壁纸</div>
		</div>
		</div>
<div ng-if="pagedata.showimages" class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showimages=false"></i>
			<div class="fui-cell-group radius" style="margin-top:0">
				<a class="fui-cell external" href="javascript:;">
					<div class="fui-cell-text bold">添加壁纸</div>
				</a>
				<div class="weui_cells weui_cells_form" style="margin-top:0">
						<div class="weui_cell" style="padding-top:0">
							<div class="weui_cell_bd weui_cell_primary">
								<div class="weui_uploader">
									<div class="weui_uploader_bd">
										<ul class="weui_uploader_files">
											<li ng-repeat="p in pagedata.post.images track by $index" class="weui_uploader_file" style="background-image:url({{tomedia(p)}})">
												<div class="upbtn" >
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.post.images.splice($index,1)">删除</a>
												</div>
											</li>
										</ul>
										<div class="weui_uploader_input_wrp" href="javascript:;" ng-click="images(pagedata.post,'images',true)">
										</div>
									</div>
								</div>
							</div>
						</div>
				</div>
			</div>
			<div class="fui-cellone" style="padding-top:0.5rem;">
					<div class="fui-cellone-text c">
						<div class="radius c" ng-click="post(pagedata.post,'/mcpitem/addimgs/')" style="background:#3263fe;color:#fff;padding:0.5rem">
							确认提交
						</div>
					</div>	
			</div>
		</div>
	</div>
</div>
<script>
</script>